package com.rs.game.player.dialogues;

import com.rs.game.WorldTile;
import com.rs.game.minigames.RecipeforDisaster;
import com.rs.game.player.content.Magic;


public class Droplog extends Dialogue {

	@Override
	public void start() {
		sendOptionsDialogue("Select an option.",
				"Drop Log", "Boss Kills", "Lost-City Quest", "Recipe for Disaster", "Nomads Requiem");
	}

	@Override
	public void run(int interfaceId, int componentId) {
		if (componentId == OPTION_1) {
        player.getTemporaryAttributes().put("drop_log", true);
        player.getPackets().sendRunScript(109, "Enter Player's Name:");
		end(); 
		} else if (componentId == OPTION_2) {
		player.getTemporaryAttributes().put("boss_kills", true);
		player.getPackets().sendRunScript(109, "Enter Player's Name:");
		end();
		} else if (componentId == OPTION_3) {
		Magic.sendNormalTeleportSpell(player, 0, 0, new WorldTile(3153, 3209, 0));
		} else if (componentId == OPTION_4) {
		RecipeforDisaster.enterRfd(player);	
		end();
		}else if (componentId == OPTION_5) {
		Magic.sendNormalTeleportSpell(player, 0, 0, new WorldTile(1890, 3177, 0));
		}
	}

	

	@Override
	public void finish() {

	}

}